* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '微软雅黑', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e) fixed;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 1200px;
    max-width: 98%;
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-control {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
    color: #a5a5a5;
}

button {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    background: linear-gradient(45deg, #4ecdc4, #585e92);
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

.poem-output {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    min-height: 200px;
    color: #fff;
    line-height: 1.8;
    font-size: 1.1em;
    letter-spacing: 1px;
    white-space: pre-wrap;
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: #fff;
}
.select_button {
    background-color: rgba(76, 71, 135, 0.55);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }
}